package com.fenghongzhang.day008;

import android.app.Activity;

import java.util.ArrayList;
import java.util.List;

public class TestManager {
    private List<Activity> list = new ArrayList<>();
    private static TestManager testManager;
    public static TestManager getInstance(){
        if(testManager == null){
            testManager = new TestManager();
        }
        return testManager;
    }
    public void add(Activity activity){
        list.add(activity);
    }
}
